package com.rpc.controller;

import com.rpc.fegin.LogFegin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author yinxing
 * @date 2022-09-23
 */
@RestController
public class RPCController {


    @Resource
    private LogFegin logFegin;

    @RequestMapping("/test")
    public void test() {
        System.out.println(logFegin.test1("dsd").toString());
    }


    @RequestMapping("/actuator/health")
    public String health() {
        return "i am ok!";
    }

}
